﻿using System;
using System.Collections;
using System.Data;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Skyworth.CRM.Service.Entity;

namespace Skyworth.CRM.Service.IDAL
{
    public interface IRoleDAL
    {
        void Add(Roles model);
        void Update(Roles model);
        DataTable Query(string strWhere);
        DataTable Query(string strWhere, Hashtable parameter);
        void Delete(int roleId);

        void SetRoleAuthority(int roleId, int pageId, Dictionary<string, int> functionList);
    }
}
